package com.yfproject.business;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import com.yfproject.models.Course;


@Repository
public interface CourseRepository extends JpaRepository<Course, Long> {
    Course findByCourseName(String name);
    
    Course findByCid(Integer cid);
}